import { Global, Module } from "@nestjs/common";
import { LogService } from "./log.service";
import { TypeOrmModule } from "@nestjs/typeorm";
import { Log } from "./log.entity";
import { LogController } from './log.controller';



@Global()
@Module({
    imports: [
        TypeOrmModule.forFeature([Log])
    ],
    providers: [LogService],
    exports: [LogService],
    controllers: [LogController]
})
export class LogModule { }